import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import login from '@/views/login'

Vue.use(Router)

export const routerArray = [
	{
		path: '/login', component: login
	},
	{
		path: '/', name: 'Hello', component: HelloWorld
	}
]

export default new Router({
  routes: routerArray
})
